.NET Framework Class Library |
ParallelEnumerable..::.Concat<(Of <(TSource>)>) Method (ParallelQuery<(Of <(TSource>)>), ParallelQuery<(Of <(TSource>)>)) |
ParallelEnumerable Class See Also Send Feedback |
Concatenates two parallel sequences.
Namespace:
System.Linq
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function Concat(Of TSource) ( _ first As ParallelQuery(Of TSource), _ second As ParallelQuery(Of TSource) _ ) As ParallelQuery(Of TSource) |
C# |
---|
public static ParallelQuery<TSource> Concat<TSource>( ParallelQuery<TSource> first, ParallelQuery<TSource> second ) |
Parameters
- first
- Type: System.Linq..::.ParallelQuery<(Of <(TSource>)>)
The first sequence to concatenate.
- second
- Type: System.Linq..::.ParallelQuery<(Of <(TSource>)>)
The sequence to concatenate to the first sequence.
Type Parameters
- TSource
- The type of the elements of the input sequences.
Return Value
A sequence that contains the concatenated elements of the two input sequences.Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | first or second is a null reference (Nothing in Visual Basic). |